public class Token1 {
    private TokenType type;
    private String value;
    private String num;

    public Token1(TokenType type, String value, String num) {
        this.type = type;
        this.value = value;
        this.num = num;
    }

    public TokenType getType() {
        return type;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return value + " <" + type + "," + num + ">";
    }
}